@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  user-select: none;
}

html, body {
  overflow: hidden;
  height: 100%;
}

body {
  background-color: gray;
}

#app {
  width: 100vw;
  height: 100vh;
  background-color: #fff;
}

.date-picker-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #fff;
  transform: translateX(100vw) translateZ(0);
  transition: .5s;
}

.date-picker-wrap.show {
  transform: translateX(0vw) translateZ(0);
}

.date-picker {
  z-index: 999;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  color: #222;
  font-size: 16px;
}

.dp-header .dp-labels {
  display: flex;
  justify-content: space-around;
  margin: 0;
  background-color: #ececec;
}

.dp-header .dp-labels li {
  color: #999;
  font-size: 14px;
  text-align: center;
  line-height: 35px;
}

.dp-header .dp-labels li.sunday, .dp-header .dp-labels li.saturday {
  color: #d4b172;
}

.dp-container {
  flex: 1;
  overflow-y: auto;
}

.dp-calendar-item header {
  padding-top: 0.8rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dp-calendar-item header::after, .dp-calendar-item header::before {
  content: '';
  width: 49px;
  height: 1px;
  background-color: #ccc;
  transform: scaleY(0.5);
}

.dp-calendar-item h4 {
  padding: 0 0.4rem;
  color: #333;
  font-weight: normal;
  text-align: center;
  font-size: 18px;
  line-height: 3.25;
  letter-spacing: 0;
}

.dp-calendar-item ul {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  list-style: none;
}

.dp-calendar-item ul li {
  flex: 1 1 14.285714%;
  min-width: 14.285714%;
  max-width: 14.285714%;
  line-height: 14.285714vw;
  margin-bottom: 1rem;
  text-align: center;
}

.dp-calendar-item ul li.empty-0 {
  counter-reset: date;
  flex: 0 0 0%;
  min-width: 0%;
  max-width: 100%;
}

.dp-calendar-item ul li.empty-0 ~ :nth-child(7n + 8),
.dp-calendar-item ul li.empty-0 ~ :nth-child(7n + 9) {
  color: #d4b172;
}

.dp-calendar-item ul li:not(:first-child):before {
  content: counter(date);
  counter-increment: date;
}

.dp-calendar-item ul li.empty-1 {
  counter-reset: date;
  flex: 1 1 14.28571%;
  min-width: 14.28571%;
  max-width: 100%;
}

.dp-calendar-item ul li.empty-1 ~ :nth-child(7n + 7),
.dp-calendar-item ul li.empty-1 ~ :nth-child(7n + 8) {
  color: #d4b172;
}

.dp-calendar-item ul li:not(:first-child):before {
  content: counter(date);
  counter-increment: date;
}

.dp-calendar-item ul li.empty-2 {
  counter-reset: date;
  flex: 2 2 28.57143%;
  min-width: 28.57143%;
  max-width: 100%;
}

.dp-calendar-item ul li.empty-2 ~ :nth-child(7n + 6),
.dp-calendar-item ul li.empty-2 ~ :nth-child(7n + 7) {
  color: #d4b172;
}

.dp-calendar-item ul li:not(:first-child):before {
  content: counter(date);
  counter-increment: date;
}

.dp-calendar-item ul li.empty-3 {
  counter-reset: date;
  flex: 3 3 42.85714%;
  min-width: 42.85714%;
  max-width: 100%;
}

.dp-calendar-item ul li.empty-3 ~ :nth-child(7n + 5),
.dp-calendar-item ul li.empty-3 ~ :nth-child(7n + 6) {
  color: #d4b172;
}

.dp-calendar-item ul li:not(:first-child):before {
  content: counter(date);
  counter-increment: date;
}

.dp-calendar-item ul li.empty-4 {
  counter-reset: date;
  flex: 4 4 57.14286%;
  min-width: 57.14286%;
  max-width: 100%;
}

.dp-calendar-item ul li.empty-4 ~ :nth-child(7n + 4),
.dp-calendar-item ul li.empty-4 ~ :nth-child(7n + 5) {
  color: #d4b172;
}

.dp-calendar-item ul li:not(:first-child):before {
  content: counter(date);
  counter-increment: date;
}

.dp-calendar-item ul li.empty-5 {
  counter-reset: date;
  flex: 5 5 71.42857%;
  min-width: 71.42857%;
  max-width: 100%;
}

.dp-calendar-item ul li.empty-5 ~ :nth-child(7n + 3),
.dp-calendar-item ul li.empty-5 ~ :nth-child(7n + 4) {
  color: #d4b172;
}

.dp-calendar-item ul li:not(:first-child):before {
  content: counter(date);
  counter-increment: date;
}

.dp-calendar-item ul li.empty-6 {
  counter-reset: date;
  flex: 6 6 85.71428%;
  min-width: 85.71428%;
  max-width: 100%;
}

.dp-calendar-item ul li.empty-6 ~ :nth-child(7n + 2),
.dp-calendar-item ul li.empty-6 ~ :nth-child(7n + 3) {
  color: #d4b172;
}

.dp-calendar-item ul li:not(:first-child):before {
  content: counter(date);
  counter-increment: date;
}

.dp-calendar-item ul li.today:before {
  content: '今天' !important;
}

.dp-calendar-item ul li.disabled:before {
  color: #ccc !important;
}

.dp-calendar-item ul li.selected {
  border-radius: 50%;
  background-color: rgba(92, 144, 22, 0.36);
  color: #fff;
}
